<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>v_hdmitxss: xv_hdmitxss_hdcp.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">v_hdmitxss
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xv__hdmitxss__hdcp_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xv_hdmitxss_hdcp.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This is main code of Xilinx HDMI Transmitter Subsystem device driver. </p>
<p>Please see <a class="el" href="xv__hdmitxss_8h.html" title="This is main header file of the Xilinx HDMI TX Subsystem driver. ">xv_hdmitxss.h</a> for more details of the driver.</p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who    Date     Changes
<hr/>

1.00   MMO 19/12/16 Move HDCP Code from <a class="el" href="xv__hdmitxss_8c.html" title="This is main code of Xilinx HDMI Transmitter Subsystem device driver. ">xv_hdmitxss.c</a> to <a class="el" href="xv__hdmitxss__hdcp_8c.html" title="This is main code of Xilinx HDMI Transmitter Subsystem device driver. ">xv_hdmitxss_hdcp.c</a>
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a46f90d2469c5ccfe6fc28de9d0aa7bea"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitxss__hdcp_8c.html#a46f90d2469c5ccfe6fc28de9d0aa7bea">XV_HdmiTxSs_IsSinkHdcp14Capable</a> (<a class="el" href="struct_x_v___hdmi_tx_ss.html">XV_HdmiTxSs</a> *InstancePtr)</td></tr>
<tr class="memdesc:a46f90d2469c5ccfe6fc28de9d0aa7bea"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function determines if the connected HDMI sink has HDCP 1.4 capabilities.  <a href="#a46f90d2469c5ccfe6fc28de9d0aa7bea">More...</a><br /></td></tr>
<tr class="separator:a46f90d2469c5ccfe6fc28de9d0aa7bea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23a1a2544ef4bc3ff8e1fde04bcc6f56"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitxss__hdcp_8c.html#a23a1a2544ef4bc3ff8e1fde04bcc6f56">XV_HdmiTxSs_IsSinkHdcp22Capable</a> (<a class="el" href="struct_x_v___hdmi_tx_ss.html">XV_HdmiTxSs</a> *InstancePtr)</td></tr>
<tr class="memdesc:a23a1a2544ef4bc3ff8e1fde04bcc6f56"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function determines if the connected HDMI sink has HDCP 2.2 capabilities.  <a href="#a23a1a2544ef4bc3ff8e1fde04bcc6f56">More...</a><br /></td></tr>
<tr class="separator:a23a1a2544ef4bc3ff8e1fde04bcc6f56"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a46f90d2469c5ccfe6fc28de9d0aa7bea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46f90d2469c5ccfe6fc28de9d0aa7bea">&#9670;&nbsp;</a></span>XV_HdmiTxSs_IsSinkHdcp14Capable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XV_HdmiTxSs_IsSinkHdcp14Capable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx_ss.html">XV_HdmiTxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function determines if the connected HDMI sink has HDCP 1.4 capabilities. </p>
<p>The sink is determined to be HDCP 1.4 capable the BKSV indicates 20 ones and 20 zeros. If the sink is capable of HDCP 1.4, then this function checks if the Bcaps register indicates that the connected device a DVI or HDMI receiver. If the receiver is determined to be HDMI, then the function will return FALSE until the receiver has set the HDMI_MODE in the Bstatus register.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx_ss.html" title="The XVprocss driver instance data. ">XV_HdmiTxSs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>TRUE if sink is HDCP 1.4 capable and ready to authenticate.</li>
<li>FALSE if sink does not support HDCP 1.4 or is not ready. </li>
</ul>
</dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx_ss.html#a87042f029000cbb41f93ca4d5cc9df89">XV_HdmiTxSs::HdmiTxPtr</a>.</p>

</div>
</div>
<a id="a23a1a2544ef4bc3ff8e1fde04bcc6f56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23a1a2544ef4bc3ff8e1fde04bcc6f56">&#9670;&nbsp;</a></span>XV_HdmiTxSs_IsSinkHdcp22Capable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XV_HdmiTxSs_IsSinkHdcp22Capable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx_ss.html">XV_HdmiTxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function determines if the connected HDMI sink has HDCP 2.2 capabilities. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx_ss.html" title="The XVprocss driver instance data. ">XV_HdmiTxSs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>TRUE if sink is HDCP 2.2 capable</li>
<li>FALSE if sink does not support HDCP 2.2 or HDCP 2.2 is not available. </li>
</ul>
</dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx_ss.html#ab003c64bbf63c1cc119c0a074f442967">XV_HdmiTxSs::HdcpProtocol</a>, <a class="el" href="struct_x_v___hdmi_tx_ss.html#a87042f029000cbb41f93ca4d5cc9df89">XV_HdmiTxSs::HdmiTxPtr</a>, <a class="el" href="xv__hdmitxss_8h.html#ae5b01347d8bef95b2b6696a9df03715da0ac9cbdc7d8cb2851d920930a376b0a3">XV_HDMITXSS_HDCP_14</a>, <a class="el" href="xv__hdmitxss_8h.html#ae5b01347d8bef95b2b6696a9df03715da1a1b397d94a578680e4ea043d82b82f2">XV_HDMITXSS_HDCP_22</a>, and <a class="el" href="xv__hdmitxss_8h.html#ae5b01347d8bef95b2b6696a9df03715daac8020e5cbc2a02efd15877b22572965">XV_HDMITXSS_HDCP_NONE</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
